package com.antoco.operation.bigscreen.model.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 管网业务对象数量统计
 */
@Entity
@Table(name = "pipe_bo_num_tj")
@Data
public class PipeBoNumTj implements AbstractEntity<Long> , Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;

    /**
     * 统计实例标识
     */
    @Column(name = "tj_ins_id")
    private String tjInsId;

    /**
     * 区域标识
     */
    @Column(name = "area_id")
    private String areaId;

    /**
     * 区域名称
     */
    @Column(name = "area_name")
    private String areaName;

    /**
     * 管道总数
     */
    @Column(name = "pipe_num")
    private String pipeNum;

    /**
     * 管井总数
     */
    @Column(name = "guanjin_num")
    private String guanjinNum;

    /**
     * 传感器总数
     */
    @Column(name = "sensor_num")
    private String sensorNum;

    /**
     * 泵站总数
     */
    @Column(name = "benzan_num")
    private String benzanNum;

}
